package com.jiantong.admin.ext;

import com.jiantong.common.model.BaseLoginUser;
import com.jiantong.user.model.GovernmentUserDuty;
import com.jiantong.user.model.UserProfile;
import lombok.Data;

import java.util.List;

/**
 * Created by mz on 27/9/17.
 *
 */
@Data
public class WebLoginUser extends BaseLoginUser {


    private static final long serialVersionUID = 6923696334771721723L;

    private Long userId;

    private String realName;

    private String mobile;//手机号码

    private String email;

    private Integer areaLevel;

    private Integer status;

    private UserProfile userProfile;

    private List<Long> breedFactoryIds;//管理的养殖场的id集合

    private List<Long> butcherFactoryIds;//管理的屠宰场的id集合

    private List<Long> declareStationIds;//所管理的申报点的id集合

    private List<Long> certificateStationIds;//所管理的发证点集合

    private Long organizationId; // 所属机构ID--养殖场或屠宰场或政府

    private String organizationName; // 所属机构名称--养殖场或屠宰场或政府

    private Integer organizationType; // 所属机构类型--养殖场或屠宰场或政府

    private List<GovernmentUserDuty> governmentUserDuties; // 政府端用户关联的屠宰场 和 申报点
}
